﻿using Nova_Common.Extend;
using Nova_DAL;
using Nova_MOD;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nova_BLL
{
    public class TLCDLogBll
    {
        private readonly TLCDLogDal dal = new TLCDLogDal();

        public bool InsertEntity(TLCDLog entity)
        {
            string id = dal.Insert(entity);
            return !id.IsEmpty();
        }

        public bool UpdateEntity(TLCDLog entity)
        {
            return dal.Update(entity);
        }

        public TLCDLog GetBySQID(string sqId)
        {
            return dal.GetById(sqId);
        }
    }
}
